package com.qst.pojo;

import java.util.List;

/**
 * @author Eumenides.
 * @create 2021-06-17 10:53
 */
public class Employee {
    private Integer employeeId;
    private String employeeName;
    private String username;
    private String phone;
    private String email;
    private Integer status;
    private String password;
    private String role;

    private Department department;
    private List<Meeting> meetings;

    public Employee() {
    }

    public Employee(Integer employeeId, String employeeName, String username, String phone, String email, Integer status, String password, String role, Department department, List<Meeting> meetings) {
        this.employeeId = employeeId;
        this.employeeName = employeeName;
        this.username = username;
        this.phone = phone;
        this.email = email;
        this.status = status;
        this.password = password;
        this.role = role;
        this.department = department;
        this.meetings = meetings;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public List<Meeting> getMeetings() {
        return meetings;
    }

    public void setMeetings(List<Meeting> meetings) {
        this.meetings = meetings;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "employeeId=" + employeeId +
                ", employeeName='" + employeeName + '\'' +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", status=" + status +
                ", password='" + password + '\'' +
                ", role='" + role + '\'' +
                '}';
    }
}
